package com.zjs.express.bean;

import javax.smartcardio.Card;
import java.util.Date;

/**
 * 用户表：普通用户、快递员
 */
public class User {
    //主键
    private String id;
    //用户名
    private String username;
    //密码
    private String password;
    //联系电话（验证码登录联系电话）
    private String phone;
    //身份证号码
    private String idCard;
    //注册时间
    private Date createTime;
    //登录时间
    private Date loginTime;
    //上次登录时间
    private Date lastLoginTime;
    //派件数
    private String dispatchCount;
    //用户类型：0普通用户，1快递员
    private String type;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getDispatchCount() {
        return dispatchCount;
    }

    public void setDispatchCount(String dispatchCount) {
        this.dispatchCount = dispatchCount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
